package com.systop.service;

import com.systop.pojo.Banner;
import com.systop.unti.ResponseResult;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

/**
 * @Author zhangnan
 * @Data 2020/8/003 上午 9:58
 * @Descriiption
 **/

public interface BannerService {
    //首页上传Banner
    ResponseResult insertbanners(Banner banner);
    //查询banner
    ResponseResult selectBannerAll();
    //更新之前查询根据id
    ResponseResult selectBannerByid(Integer banner_id);
    //根据id修改Bannner
    ResponseResult updateBannerByid(Banner banner);
    //根据id删除banner
    ResponseResult deleteBannerByid(Integer banner_id);
}
